class ContentRequest {
  int? noteId;
  int? groupId;
  String text;
  String? image;
  String? video;
  String? audio;
  int? audioDuration;
  String? link;
  String? contentSort;

  ContentRequest({
    required this.text,
    this.noteId,
    this.groupId,
    this.image,
    this.video,
    this.audio,
    this.audioDuration,
    this.link,
    this.contentSort,
  });

  Map<String, dynamic> toJson() => {
        'noteId': noteId,
        'groupId': groupId,
        'text': text,
        'image': image,
        'video': video,
        'audio': audio,
        'audioDuration': audioDuration,
        'link': link,
        'contentSort': contentSort,
      };
}
